package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商信息对象 jt_supplier
 * 
 * @author Alan Zhang
 * @date 2025-03-29
 */
public class JtSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商id */
    private Long supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    private String supplierCode;

    /** 所在国家地区 */
    @Excel(name = "所在国家地区")
    private String countryRegion;

    /** 货币 */
    @Excel(name = "货币")
    private String currency;

    /** 国家码 */
    @Excel(name = "国家码")
    private String countryCode;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司税号 */
    @Excel(name = "公司税号")
    private String companyTaxNo;

    /** 纳税规模 个体户  小规模纳税人  一般纳税人 */
    @Excel(name = "纳税规模 个体户  小规模纳税人  一般纳税人")
    private String taxScale;

    /** 付款方式 货到付款 月结 */
    @Excel(name = "付款方式 货到付款 月结")
    private Integer paymentMethod;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Integer status;

    /** 账户名称 */
    @Excel(name = "账户名称")
    private String nameOfAccount;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String bankOfDeposit;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankAccountNumber;

    /** 评分 */
    @Excel(name = "评分")
    private Integer rating;

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }

    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }

    public void setSupplierCode(String supplierCode) 
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode() 
    {
        return supplierCode;
    }

    public void setCountryRegion(String countryRegion) 
    {
        this.countryRegion = countryRegion;
    }

    public String getCountryRegion() 
    {
        return countryRegion;
    }

    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }

    public void setCountryCode(String countryCode) 
    {
        this.countryCode = countryCode;
    }

    public String getCountryCode() 
    {
        return countryCode;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }

    public void setCompanyTaxNo(String companyTaxNo) 
    {
        this.companyTaxNo = companyTaxNo;
    }

    public String getCompanyTaxNo() 
    {
        return companyTaxNo;
    }

    public void setTaxScale(String taxScale) 
    {
        this.taxScale = taxScale;
    }

    public String getTaxScale() 
    {
        return taxScale;
    }

    public void setPaymentMethod(Integer paymentMethod) 
    {
        this.paymentMethod = paymentMethod;
    }

    public Integer getPaymentMethod() 
    {
        return paymentMethod;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setNameOfAccount(String nameOfAccount) 
    {
        this.nameOfAccount = nameOfAccount;
    }

    public String getNameOfAccount() 
    {
        return nameOfAccount;
    }

    public void setBankOfDeposit(String bankOfDeposit) 
    {
        this.bankOfDeposit = bankOfDeposit;
    }

    public String getBankOfDeposit() 
    {
        return bankOfDeposit;
    }

    public void setBankAccountNumber(String bankAccountNumber) 
    {
        this.bankAccountNumber = bankAccountNumber;
    }

    public String getBankAccountNumber() 
    {
        return bankAccountNumber;
    }

    public Integer getRating() {
        return rating;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("supplierName", getSupplierName())
            .append("supplierCode", getSupplierCode())
            .append("countryRegion", getCountryRegion())
            .append("currency", getCurrency())
            .append("countryCode", getCountryCode())
            .append("phoneNumber", getPhoneNumber())
            .append("contact", getContact())
            .append("address", getAddress())
            .append("companyName", getCompanyName())
            .append("companyTaxNo", getCompanyTaxNo())
            .append("taxScale", getTaxScale())
            .append("paymentMethod", getPaymentMethod())
            .append("status", getStatus())
            .append("nameOfAccount", getNameOfAccount())
            .append("bankOfDeposit", getBankOfDeposit())
            .append("bankAccountNumber", getBankAccountNumber())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
